dsh-peak-indicator: Display DeepSeek Peak/Off-Peak Pricing and Compress Long Sessions in DSH Web
dsh-peak-indicator is a client-side plugin for DSH Web, designed to optimize the long-session experience with DeepSeek. Its core features include: displaying a real-time badge in the session header indicating the current peak/off-peak period along with the actual cost of the current session and turn, with support for countdown display and unit price details; and automatically enabling the built-in compaction-basic feature, which folds earlier conversations into a summary when the context reaches a threshold (100,000 tokens by default) while retaining recent content, thereby reducing input costs for subsequent requests. The plugin is compatible with DeepSeek and other models that support compaction, requiring Node.js >=22.13.0 and DSH >=0.1.0-rc.7. Users can install it via a specific command and adjust the compaction threshold and peak/off-peak parameters in the settings. Note that the price table needs to be
Read More